package com.noble.meether.ui.point.bean;

import com.noble.library.base.bean.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;

/**
 * 评分与奖励
 */
public class PointList extends BaseData {
    private ArrayList<Point> pointList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.pointList = (ArrayList<Point>) getBaseDataList(jsonArray, Point.class);
    }

    public ArrayList<Point> getPointList() {
        return pointList;
    }
}
